//package com.songjia.ribbon;
//
//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
//import org.springframework.cloud.netflix.hystrix.EnableHystrix;
//import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
//import org.springframework.context.annotation.Bean;
//import org.springframework.web.client.RestTemplate;
//
///**
// * 
// * 
// * @Description: SpringBoot启动类
// *
// * @author: songjia
// * @date: 2017年10月25日 上午11:02:28
// */
//@SpringBootApplication
//@EnableDiscoveryClient
//@EnableHystrix // 使用断路器
//@EnableHystrixDashboard // 断路器：Hystrix 仪表盘
//// @SpringCloudApplication
//public class RibbonServiceApplication {
//
//	public static void main(String[] args) {
//		SpringApplication.run(RibbonServiceApplication.class, args);
//	}
//
//	@Bean
//	@LoadBalanced // 使用LoadBalanced开启客户端负载均衡的功能
//	RestTemplate restTemplate() {
//		return new RestTemplate();
//	}
//}
